
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>登录</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <style>
        .layui-form-item input {
            width: 250px;
        }

        .layui-form h1 {
            text-align: center;
            padding: 10px 80px;
        }

        .layui-form-mid {
            padding: 0px 0 !important;
        }
        .cr-header {
            width: 100%;
            height: 65px;
            background-color: #393D49;
        }
        .cr-header .main {
            position: relative;
            margin: 0 auto;
            min-height: 0;
        }
        .main {
            max-width: 1079px;
            margin: 0 auto 15px;
        }
        .logo {
            display: block;
            position: absolute;
            top: 13px;
            left: 15px;
            /* width: 135px; */
            height: 37px;
            color: #009688;
            font-size: 24px;
        }
        .nav-user {
            position: absolute;
            top: 24px;
            right: 15px;
        }
        .nav-user span, .nav-user .unlogin, .out-login, .avatar, .avatar *, .nav-user .nav {
            display: inline-block;
            vertical-align: middle;
        }
        .nav-user span a {
            padding: 0 10px;
            color: #A9B7B7;
        }
        .cr-body {
            margin: 15px auto 48px auto;
            max-width: 780px;
        }
        .cr-body h1 {
            font-size: 22px;
            margin-bottom: 10px;
            line-height: 30px;
            padding: 10px;
            color: #393D49;
            border-bottom: 1px solid #009688;
        }
        .cr-form {
            margin: 15px auto;
            max-width: 480px;
            background-color: #fff;
            padding: 30px;
            border: 1px solid #f0f0f0;
        }
    </style>
</head>
<body>
<div class="layui-layout">
    <!-- 头部区域 -->
    <div class="layui-header cr-header">
        <div class="main">
            <a href="#" class="logo">东软CRM</a>
            <div class="nav-user">
                <span><a href="${pageContext.request.contextPath}/login.jsp">登录</a></span>
            </div>
        </div>
    </div>
    <div class="cr-body">
        <h1><i class="layui-icon"></i> 用户登录</h1>
        <div class="cr-form">
            <form style="margin-left: 30px" class="layui-form" action="${pageContext.request.contextPath}/">
                <div class="layui-form-item">
                    <label class="layui-form-label">邮箱：</label>
                    <div class="layui-input-inline">
                        <input  id="email-input" type="text" name="email" required  lay-verify="required" placeholder="请输入邮箱" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item" style="height:38px;">
                    <label class="layui-form-label">验证码：</label>
                    <div class="layui-input-inline" style="width: 100px;">
                        <input type="text" name="code" required="" lay-verify="required" placeholder="请输入验证码" autocomplete="off" class="layui-input" style="width:100%">
                    </div>
                    <div class="layui-form-mid layui-word-aux" style="height: 38px;">
                        <button id="code-Btn" type="button" class="layui-btn" style="width: 140px">获取验证码</button>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">新密码：</label>
                    <div class="layui-input-inline">
                        <input type="password" name="password" required lay-verify="required" placeholder="请输入密码" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">确认密码：</label>
                    <div class="layui-input-inline">
                        <input type="password" name="rePassword" required lay-verify="required" placeholder="请再次输入密码" autocomplete="off" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="forSubmit">确定</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<script>
    //JavaScript代码区域
    layui.use('element', function(){
        var element = layui.element;
    });
</script>
</body>
</html>
